package com.oa.dao;

import com.oa.entity.Department;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * @author we
 * @date 2020/5/16 18:02
 */
@Repository("departmentDao")
public interface DepartmentDao {
    void insert(Department department);

    void update(Department department);

    void delete(String sn);

    Department select(String sn);

    List<Department> selectAll();
}
